home *** CD-ROM | disk | FTP | other *** search
/ IRIS Performer 2.2 Friends Demo / SGI IRIS Performer 2.2 Friends Demo.iso / friends / openworlds / perf22 / perfNodes.wrl < prev   
Text File  |  1997-11-22  |  16KB  |  595 lines

  1. #VRML V2.0 utf8
  2.  
  3. PROTO Appearance [
  4.  
  5.     exposedField SFNode texture NULL
  6.     exposedField SFNode textureTransform NULL
  7.     exposedField SFNode material NULL
  8.     field SFString surl "perfbuiltins22.so"
  9. ] { }
  10.  
  11. PROTO Anchor [
  12.   exposedField MFNode children [ ]
  13.   exposedField SFString description "12"
  14.   exposedField MFString parameter [ ]
  15.   exposedField MFString url [ ]
  16.   field SFVec3f bboxCenter 0 0 0
  17.   field SFVec3f bboxSize -1 -1 -1
  18.   eventIn MFNode addChildren
  19.   eventIn MFNode removeChildren
  20.   field SFString surl "perfbuiltins22.so"
  21. ] { }
  22.  
  23. PROTO AudioClip [
  24. field SFBool sensor TRUE
  25.   exposedField   SFString description  "0"
  26.   exposedField   SFBool   loop         FALSE
  27.   exposedField   SFFloat  pitch        1
  28.   exposedField   SFTime   startTime    0
  29.   exposedField   SFTime   stopTime     0
  30.   exposedField   MFString url          []
  31.   eventOut       SFTime   duration
  32.   eventOut       SFBool   isActive
  33.   #field SFString surl "NOT_SUPPORTED"
  34.   field SFString surl "perfbuiltins22.so"
  35. ] { }
  36.  
  37. PROTO Background [
  38.   exposedField MFColor groundColor [ ]
  39.   exposedField MFFloat groundAngle [ ]
  40.   exposedField MFColor skyColor [ 0 0 0 ]
  41.   exposedField MFFloat skyAngle [ ]
  42.   exposedField MFString frontUrl [ ]
  43.   exposedField MFString backUrl [ ] 
  44.   exposedField MFString rightUrl [ ]
  45.   exposedField MFString leftUrl [ ] 
  46.   exposedField MFString topUrl [ ]
  47.   exposedField MFString bottomUrl [ ]
  48.   eventIn SFBool set_bind
  49.   eventOut SFBool isBound 
  50.   field SFString surl "NOT_SUPPORTED"
  51. ] { }
  52.  
  53. PROTO Billboard [
  54.   exposedField MFNode children [ ]
  55.   exposedField SFVec3f axisOfRotation 0 1 0
  56.   field SFVec3f bboxCenter 0 0 0
  57.   field SFVec3f bboxSize -1 -1 -1
  58.   eventIn MFNode addChildren
  59.   eventIn MFNode removeChildren
  60.   field SFString surl "perfbuiltins22.so"
  61. ] { }
  62.  
  63. PROTO Box [
  64.   field    SFVec3f size 2 2 2 
  65.   field    SFString surl "perfbuiltins22.so"
  66. ] { }
  67.  
  68. PROTO Collision [
  69.   exposedField MFNode children [ ]
  70.   exposedField SFBool collide TRUE
  71.   field SFNode proxy NULL
  72.   field SFVec3f bboxCenter 0 0 0
  73.   field SFVec3f bboxSize -1 -1 -1
  74.   eventIn MFNode addChildren
  75.   eventIn MFNode removeChildren
  76.   eventOut SFTime collideTime
  77.   field SFString surl "perfbuiltins22.so"
  78. ] { }
  79.  
  80. PROTO Color [
  81.   exposedField MFColor color []
  82.   field SFString surl "perfbuiltins22.so"
  83. ] { }
  84.  
  85. PROTO ColorInterpolator [
  86.   exposedField MFFloat key [ ]
  87.   exposedField MFColor keyValue [ ]
  88.   eventIn SFFloat set_fraction
  89.   eventOut SFColor value_changed
  90.   field SFString surl "perfbuiltins22.so"
  91. ] { }
  92.  
  93. PROTO Cone [
  94.   field SFFloat bottomRadius 1 
  95.   field SFFloat height 2
  96.   field SFBool side TRUE
  97.   field SFBool bottom TRUE
  98.   field SFString surl "perfbuiltins22.so"
  99. ] { }
  100.  
  101. PROTO Coordinate [
  102.   exposedField MFVec3f point []
  103.   field SFString surl "perfbuiltins22.so"
  104. ] { }
  105.  
  106. PROTO CoordinateInterpolator [
  107.   exposedField MFFloat key [ ]
  108.   exposedField MFVec3f keyValue [ ]
  109.   eventIn SFFloat set_fraction
  110.   eventOut MFVec3f value_changed
  111.   field SFString surl "perfbuiltins22.so"
  112. ] { }
  113.  
  114. PROTO Cylinder [
  115.   field SFFloat radius 1
  116.   field SFFloat height 2
  117.   field SFBool side TRUE
  118.   field SFBool top TRUE
  119.   field SFBool bottom TRUE
  120.   field SFString surl "perfbuiltins22.so"
  121. ] { }
  122.  
  123. PROTO CylinderSensor [
  124.   exposedField SFFloat minAngle 0
  125.   exposedField SFFloat maxAngle -1
  126.   exposedField SFBool enabled TRUE
  127.   exposedField SFFloat diskAngle 0.262
  128.   exposedField SFFloat offset 0
  129.   exposedField SFBool autoOffset TRUE
  130.   eventOut SFBool isActive
  131.   eventOut SFVec3f trackPoint_changed
  132.   eventOut SFRotation rotation_changed
  133.   field SFString surl "NOT_SUPPORTED"
  134. ] { }
  135.  
  136. PROTO DirectionalLight [
  137.   exposedField SFBool on TRUE
  138.   exposedField SFFloat intensity 1
  139.   exposedField SFFloat ambientIntensity 0
  140.   exposedField SFColor color 1 1 1
  141.   exposedField SFVec3f direction 0 0 -1
  142.   field SFString surl "perfbuiltins22.so"
  143. ] { }
  144.  
  145. PROTO ElevationGrid [
  146.   field SFInt32 xDimension 0
  147.   field SFFloat xSpacing 0.0
  148.   field SFInt32 zDimension 0
  149.   field SFFloat zSpacing 0.0
  150.   field MFFloat height [ ]
  151.   exposedField SFNode color NULL
  152.   field SFBool colorPerVertex TRUE
  153.   exposedField SFNode normal NULL
  154.   field SFBool normalPerVertex TRUE
  155.   exposedField SFNode texCoord NULL
  156.   field SFBool ccw TRUE
  157.   field SFBool solid TRUE
  158.   field SFFloat creaseAngle 0
  159.   eventIn MFFloat set_height
  160.   field SFString surl "perfbuiltins22.so"
  161. ] { }
  162.  
  163. PROTO Extrusion [
  164.   field MFVec3f spine [ 0 0 0, 0 1 0 ]
  165.   field MFVec2f crossSection [ 1 1, 1 -1, -1 -1, -1 1, 1 1]
  166.   field MFVec2f scale [ 1 1 ]
  167.   field MFRotation orientation [ 0 0 1  0 ]
  168.   field SFBool beginCap TRUE
  169.   field SFBool endCap TRUE
  170.   field SFBool ccw TRUE
  171.   field SFBool solid TRUE
  172.   field SFBool convex TRUE
  173.   field SFFloat creaseAngle 0
  174.   eventIn MFVec3f set_spine
  175.   eventIn MFVec2f set_crossSection 
  176.   eventIn MFVec2f set_scale
  177.   eventIn MFRotation set_orientation
  178.   field SFString surl "NOT_SUPPORTED"
  179. ] { }
  180.  
  181. PROTO Fog [
  182.   exposedField SFString fogType "LINEAR"
  183.   exposedField SFFloat visibilityRange 0
  184.   exposedField SFColor color 1 1 1
  185.   eventIn SFBool set_bind
  186.   eventOut SFBool isBound
  187.   field SFString surl "NOT_SUPPORTED"
  188. ] { }
  189.  
  190. PROTO FontStyle [
  191.   field SFFloat size 1.0
  192.   field MFString family "SERIF"
  193.   field SFString style "PLAIN"
  194.   field SFBool horizontal TRUE
  195.   field SFBool leftToRight TRUE
  196.   field SFBool topToBottom TRUE
  197.   field SFString language ""
  198.   field MFString justify [ "BEGIN" ]
  199.   field SFFloat spacing 1.0
  200.   field SFString surl "perfbuiltins22.so"
  201. ] { }
  202.  
  203. PROTO Group [
  204.     field SFBool    grouping TRUE
  205.   eventIn      MFNode      addChildren
  206.   exposedField MFNode      children         []
  207.   eventIn      MFNode      removeChildren
  208.   field        SFString    surl             "perfbuiltins22.so"
  209. ] { }
  210.  
  211. PROTO ImageTexture [
  212.   exposedField MFString url [ ]
  213.   field SFBool repeatS TRUE
  214.   field SFBool repeatT TRUE
  215.   field SFString surl "perfbuiltins22.so"
  216. ] { }
  217.  
  218. PROTO IndexedFaceSet [
  219.   exposedField SFNode coord NULL
  220.   field MFInt32 coordIndex []
  221.   exposedField SFNode texCoord NULL
  222.   field MFInt32 texCoordIndex []
  223.   exposedField SFNode color NULL
  224.   field MFInt32 colorIndex []
  225.   field SFBool colorPerVertex TRUE
  226.   exposedField SFNode normal NULL
  227.   field MFInt32 normalIndex []
  228.   field SFBool normalPerVertex TRUE
  229.   field SFBool ccw TRUE
  230.   field SFBool solid TRUE
  231.   field SFBool convex TRUE
  232.   field SFFloat creaseAngle 0
  233.   field SFString surl "perfbuiltins22.so"
  234. ] { }
  235.  
  236. PROTO IndexedLineSet [
  237.   exposedField SFNode coord NULL
  238.   field MFInt32 coordIndex [ ]
  239.   exposedField SFNode color NULL
  240.   field MFInt32 colorIndex [ ]
  241.   field SFBool colorPerVertex TRUE
  242.   eventIn MFInt32 set_colorIndex
  243.   eventIn MFInt32 set_coordIndex
  244.   field SFString surl "NOT_SUPPORTED"
  245. ] { }
  246.  
  247. PROTO Inline [
  248.   field SFBool        grouping TRUE 
  249.   exposedField MFString url [ ]
  250.   field SFVec3f bboxCenter 0 0 0
  251.   field SFVec3f bboxSize -1 -1 -1
  252.   field SFString surl "perfbuiltins22.so" 
  253. ] { }
  254.  
  255. PROTO LOD [
  256.   field MFFloat range [ ]
  257.   field SFVec3f center 0 0 0
  258.   exposedField MFNode level [ ] 
  259.   field SFString surl "NOT_SUPPORTED"
  260. ] { } 
  261.  
  262. PROTO Material [
  263.     exposedField SFColor diffuseColor      0.8 0.8 0.8
  264.     exposedField SFColor specularColor     0 0 0
  265.     exposedField SFFloat ambientIntensity 0.2
  266.     exposedField SFColor emissiveColor     0 0 0
  267.     exposedField SFFloat shininess 0.2
  268.     exposedField SFFloat transparency 0.0 
  269.     field SFString surl "perfbuiltins22.so"
  270. ] { }
  271.  
  272. PROTO MovieTexture [
  273.   exposedField MFString url [ ] 
  274.   exposedField SFFloat speed 1
  275.   exposedField SFBool loop FALSE
  276.   exposedField SFTime startTime 0
  277.   exposedField SFTime stopTime 0
  278.   field SFBool repeatS TRUE
  279.   field SFBool repeatT TRUE
  280.   eventOut SFFloat duration_changed
  281.   eventOut SFBool isActive
  282.   field SFString surl "NOT_SUPPORTED"
  283. ] { }
  284.  
  285. PROTO NavigationInfo [
  286.   exposedField MFFloat avatarSize [0.25, 1.6, 0.75 ]
  287.   exposedField SFBool headlight TRUE
  288.   exposedField SFFloat speed 1.0
  289.   exposedField MFString type "WALK"
  290.   exposedField SFFloat visibilityLimit 0.0
  291.   eventIn SFBool set_bind
  292.   eventOut SFBool isBound
  293.   field SFString surl "NOT_SUPPORTED"
  294. ] { }
  295.  
  296. PROTO Normal [
  297.   exposedField MFVec3f vector []
  298.   field SFString surl "perfbuiltins22.so"
  299. ] { }
  300.  
  301. PROTO NormalInterpolator [
  302.   exposedField MFFloat key [ ]
  303.   exposedField MFVec3f keyValue [ ]
  304.   eventIn SFFloat set_fraction
  305.   eventOut MFVec3f value_changed
  306.   field SFString surl "perfbuiltins22.so"
  307. ] { }
  308.  
  309. PROTO OrientationInterpolator [
  310.   exposedField MFFloat key [ ]
  311.   exposedField MFRotation keyValue [ ]
  312.   eventIn SFFloat set_fraction
  313.   eventOut SFRotation value_changed
  314.   field SFString surl "perfbuiltins22.so"
  315. ] { }
  316.  
  317. #PROTO PixelTexture [
  318. #  exposedField SFImage image 0 0 0
  319. #  field SFBool repeatS TRUE
  320. #  field SFBool repeatT TRUE
  321. #] { }
  322.  
  323. PROTO PlaneSensor [
  324.   exposedField SFVec2f minPosition 0 0
  325.   exposedField SFVec2f maxPosition -1 -1
  326.   exposedField SFBool enabled TRUE
  327.   exposedField SFVec3f offset 0 0 0
  328.   exposedField SFBool autoOffset TRUE
  329.   eventOut SFBool isActive
  330.   eventOut SFVec3f trackPoint_changed
  331.   eventOut SFVec3f translation_changed
  332.   field SFString surl "NOT_SUPPORTED"
  333. ] { }
  334.  
  335. PROTO PointLight [
  336.   exposedField SFBool on TRUE
  337.   exposedField SFFloat intensity 1
  338.   exposedField SFFloat ambientIntensity 0
  339.   exposedField SFColor color 1 1 1
  340.   exposedField SFVec3f location 0 0 0
  341.   exposedField SFFloat radius 100
  342.   exposedField SFVec3f attenuation 1 0 0
  343.   field SFString surl "perfbuiltins22.so"
  344. ] { }
  345.  
  346. PROTO PointSet [
  347.   exposedField SFNode coord NULL
  348.   exposedField SFNode color NULL
  349.   field SFString surl "NOT_SUPPORTED"
  350. ] { } 
  351.  
  352. PROTO PositionInterpolator [
  353.   exposedField MFFloat key [ ]
  354.   exposedField MFVec3f keyValue [ ]
  355.   eventIn SFFloat set_fraction
  356.   eventOut SFVec3f value_changed
  357.   field SFString surl "perfbuiltins22.so"
  358. ] { } 
  359.  
  360. PROTO ProximitySensor [
  361.   exposedField SFVec3f center 0 0 0
  362.   exposedField SFVec3f size 0 0 0
  363.   exposedField SFBool enabled TRUE
  364.   eventOut SFBool isActive
  365.   eventOut SFVec3f position_changed
  366.   eventOut SFRotation orientation_changed
  367.   eventOut SFTime enterTime
  368.   eventOut SFTime exitTime
  369.   field SFString surl "NOT_SUPPORTED"
  370. ] { }
  371.  
  372. PROTO ScalarInterpolator [
  373.   exposedField MFFloat key [ ]
  374.   exposedField MFFloat keyValue [ ]
  375.   eventIn SFFloat set_fraction
  376.   eventOut SFFloat value_changed
  377.   field SFString surl "perfbuiltins22.so"
  378. ] { }
  379.  
  380. PROTO Script [ 
  381.   exposedField MFString url [ ]
  382.   field SFBool mustEvaluate FALSE
  383.   field SFBool directOutput FALSE
  384. ] { }
  385.  
  386. PROTO Shape [
  387.     field SFBool grouping TRUE
  388.     exposedField SFNode geometry NULL
  389.     exposedField SFNode appearance NULL
  390.     field SFString surl "perfbuiltins22.so"
  391. ] { }
  392.  
  393. PROTO Sound [
  394.   field SFBool sensor TRUE 
  395.   exposedField SFNode source NULL
  396.   exposedField SFFloat intensity 1
  397.   exposedField SFFloat priority 0
  398.   exposedField SFVec3f location 0 0 0
  399.   exposedField SFVec3f direction 0 0 1
  400.   exposedField SFFloat minFront 1
  401.   exposedField SFFloat maxFront 10
  402.   exposedField SFFloat minBack 1
  403.   exposedField SFFloat maxBack 10
  404.   field SFBool spatialize TRUE
  405.   field SFString surl "perfbuiltins22.so"
  406. ] { } 
  407.  
  408. PROTO Sphere [
  409.   field SFFloat radius 1
  410.   field SFString surl "perfbuiltins22.so"
  411. ] { }
  412.  
  413. PROTO SphereSensor [
  414.   exposedField SFBool enabled TRUE
  415.   exposedField SFRotation offset 0 1 0  0
  416.   exposedField SFBool autoOffset TRUE
  417.   eventOut SFBool isActive
  418.   eventOut SFVec3f trackPoint_changed
  419.   eventOut SFRotation rotation_changed
  420.   field SFString surl "NOT_SUPPORTED"
  421. ] { }
  422.  
  423. PROTO SpotLight [
  424.   exposedField SFBool on TRUE
  425.   exposedField SFFloat intensity 1
  426.   exposedField SFFloat ambientIntensity 0
  427.   exposedField SFColor color 1 1 1
  428.   exposedField SFVec3f location 0 0 0 
  429.   exposedField SFVec3f direction 0 0 -1
  430.   exposedField SFFloat beamWidth 1.570796
  431.   exposedField SFFloat cutOffAngle 0.785398
  432.   exposedField SFFloat radius 100
  433.   exposedField SFVec3f attenuation 1 0 0
  434.   field SFString surl "perfbuiltins22.so"
  435. ] { }
  436.  
  437. PROTO Switch [ 
  438.   exposedField SFInt32 whichChoice -1
  439.   exposedField MFNode choice [ ]
  440.   field SFString surl "perfbuiltins22.so"
  441. ] { }
  442.  
  443. PROTO Text [
  444.   exposedField MFString string [ ] 
  445.   exposedField SFNode fontStyle NULL
  446.   exposedField SFFloat maxExtent 0.0
  447.   exposedField MFFloat length [ ]
  448.   field SFString surl "perfbuiltins22.so"
  449. ] { }
  450.  
  451. PROTO TextureCoordinate [
  452.   exposedField MFVec2f point []
  453.   field SFString surl "perfbuiltins22.so"
  454. ] { }
  455.  
  456. PROTO TextureTransform [
  457.   exposedField SFVec2f translation 0 0 
  458.   exposedField SFFloat rotation 0
  459.   exposedField SFVec2f scale 1 1
  460.   exposedField SFVec2f center 0 0
  461.   field SFString surl "perfbuiltins22.so"
  462. ] { }
  463.  
  464. PROTO TimeSensor [
  465.     field SFBool    sensor        TRUE
  466.   exposedField SFTime   cycleInterval 1
  467.   exposedField SFBool   enabled       TRUE
  468.   exposedField SFBool   loop          FALSE
  469.   exposedField SFTime   startTime     0
  470.   exposedField SFTime   stopTime      0
  471.   eventOut     SFTime   cycleTime
  472.   eventOut     SFFloat  fraction_changed
  473.   eventOut     SFBool   isActive
  474.   eventOut     SFTime   time
  475.   field         SFString surl        "perfbuiltins22.so"
  476. ] { }
  477.  
  478. PROTO TouchSensor [
  479.   exposedField SFBool enabled TRUE
  480.   eventOut     SFVec3f hitNormal_changed
  481.   eventOut     SFVec3f hitPoint_changed
  482.   eventOut     SFVec2f hitTexCoord_changed
  483.   eventOut     SFBool  isActive
  484.   eventOut     SFBool  isOver
  485.   eventOut     SFTime  touchTime
  486.   field SFString surl "perfbuiltins22.so"
  487. ] { }
  488.  
  489. PROTO Transform [
  490.     field SFBool    grouping        TRUE
  491.   eventIn      MFNode      addChildren
  492.   eventIn      MFNode      removeChildren
  493.   exposedField SFVec3f     center           0 0 0
  494.   exposedField MFNode      children         []
  495.   exposedField SFRotation  rotation         0 0 1  0
  496.   exposedField SFVec3f     scale            1 1 1
  497.   exposedField SFRotation  scaleOrientation 0 0 1  0
  498.   exposedField SFVec3f     translation      0 0 0
  499.   field        SFVec3f     bboxCenter       0 0 0
  500.   field        SFVec3f     bboxSize         -1 -1 -1
  501.   field        SFString    surl             "perfbuiltins22.so"
  502. ] { }
  503.  
  504. PROTO Viewpoint [
  505.   eventIn SFBool set_bind
  506.   exposedField SFVec3f position 0 0 10
  507.   exposedField SFRotation orientation 0 0 1  0
  508.   exposedField SFFloat fieldOfView 0.785398
  509.   field SFString description ""
  510.   exposedField SFBool jump TRUE
  511.   eventOut SFTime bindTime
  512.   eventOut SFBool isBound
  513.   field SFBool grouping TRUE
  514.   field SFString surl "perfbuiltins22.so"
  515. ] { }
  516.  
  517. PROTO VisibilitySensor [
  518.   exposedField SFVec3f center 0 0 0
  519.   exposedField SFVec3f size 0 0 0
  520.   exposedField SFBool enabled TRUE
  521.   eventOut SFBool isActive
  522.   eventOut SFTime enterTime
  523.   eventOut SFTime exitTime
  524.   field SFString surl "NOT_SUPPORTED"
  525. ] { }
  526.  
  527. PROTO WorldInfo [
  528.   field SFString title ""
  529.   field MFString info [ ] 
  530.   field SFString surl "NOT_SUPPORTED"
  531. ] { } 
  532.  
  533. PROTO Object [
  534.     field SFBool        grouping                TRUE
  535.   exposedField SFVec3f     center           0 0 0
  536.   exposedField MFNode      children         []
  537.   exposedField SFRotation  rotation         0 0 1  0
  538.   exposedField SFVec3f     scale            1 1 1
  539.   exposedField SFRotation  scaleOrientation 0 0 1  0
  540.   exposedField SFVec3f     translation      0 0 0
  541.   field        SFVec3f     bboxCenter       0 0 0
  542.   field        SFVec3f     bboxSize         -1 -1 -1
  543.   field        SFString    object           "" 
  544.   field        SFString    surl             "perfbuiltins22.so"
  545. ] { }
  546.  
  547.  
  548. PROTO SteerSensor [
  549. field SFBool        sensor          TRUE
  550.   field SFVec3f start 0 0 0
  551.   field MFVec3f dashPositions [ ]
  552.   field MFRotation dashOrientations [ ]
  553.   eventIn SFBool isOver9
  554.   eventIn SFBool isOver11
  555.   eventIn SFBool isOver12
  556.   eventIn SFBool isOver1
  557.   eventIn SFBool isOver3
  558.   eventIn SFBool stop
  559.   eventIn SFBool goView1
  560.   eventIn SFBool goView2
  561.   eventIn SFBool reverseDirection
  562.   eventOut SFRotation stick_changed
  563.   eventOut SFColor view1Color_changed
  564.   eventOut SFColor view2Color_changed
  565.   eventOut SFColor color9_changed
  566.   eventOut SFColor color11_changed
  567.   eventOut SFColor color12_changed
  568.   eventOut SFColor color1_changed
  569.   eventOut SFColor color3_changed
  570.   eventOut SFVec3f dashPosition_changed
  571.   eventOut SFVec3f dashOrientation_changed
  572.   eventOut SFVec3f carPosition_changed
  573.   eventOut SFRotation rotation_changed
  574.   field SFString surl "perfbuiltins22.so"
  575. ] { }
  576.  
  577. #PROTO Cycle [
  578. #  eventOut SFInt32 which
  579. #  field SFInt32 max  2
  580. #  field SFInt32 speed 10
  581. #  field SFString surl "perfbuiltins22.so"
  582. #  field SFBool sensor TRUE
  583. #] { }
  584.  
  585. #PROTO AlienControl [
  586. #  eventOut SFTime startTime
  587. #  eventOut SFInt32 which
  588. #  eventOut SFVec3f position
  589. #  field SFVec3f start 0 0 0 
  590. #  eventIn SFBool shot
  591. #  field SFString surl "perfbuiltins22.so"
  592. #  field SFBool sensor TRUE
  593. #] { }
  594.  
  595.